package com.ls.herostory.cmdhandler;

import com.google.protobuf.GeneratedMessageV3;
import io.netty.channel.ChannelHandlerContext;

/**
 * @author liangsu
 * @version v1.0
 * @Description
 * @Date 2020/10/12 9:11
 * @since
 */
public interface CmdHandler<T extends GeneratedMessageV3> {

    void handleCmd(ChannelHandlerContext ctx, T cmd);

}
